﻿using lauimini_webform.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace lauimini_webform.Handle
{
    /// <summary>
    /// finish 的摘要说明
    /// </summary>
    public class finish : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            //context.Response.ContentType = "text/plain";
            //context.Response.Write("Hello World");
            int id = Convert.ToInt32(context.Request.QueryString["id"]);
            new UserTargetService().finishMyTarget(id);
            context.Response.Redirect("/doing.aspx");
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}